package io.iohomework;

import java.io.IOException;

public class Test {
    public static void main(String[] args) {
        Sender sender = new Sender();
        Receiver receiver =null;
        try {
            receiver =new Receiver(sender.getWriter());
        } catch (IOException e) {
            e.printStackTrace();
        }
        new Thread(sender).start();
        new Thread(receiver).start();
    }
}
